package com.mky.cloud.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

//Dept(Entity)  orm mysql->Dept (table) 类表关系映射
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class Dept implements Serializable{

    private Long deptno;//主键

    private String dname;//部门名称

    private String db_source;//来自哪个数据库

}
